<?php
	class loaivanbanbs
	{
		public $MaLoaiVanBan = 0;
		public $TenLoaiVanBan = "";
		public $MoTa = "";

		
		public function Add()
		{
			$db = new loaivanbandb();
			return $db->Add($this->TenLoaiVanBan, $this->MoTa);
		}
		
		public function Delete()
		{
			$db = new loaivanbandb();
			return $db->Delete($this->MaLoaiVanBan);
		}
		
		public function Update()
		{
			$db = new loaivanbandb();
			return $db->Update($this->MaLoaiVanBan, $this->TenLoaiVanBan, $this->MoTa);
		}
	
		public function GetList()
		{
			$db = new loaivanbandb();
			return $db->GetList($this->MaLoaiVanBan, $this->TenLoaiVanBan, $this->MoTa);
		}
		
	}
?>